//
//  HCButton.h
//  CustomButton
//
//  Created by leeson on 2018/2/5.
//  Copyright © 2018年 李斯芃 ---> 512523045@qq.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HCButton : UIButton

///自定义初始化方法
- (instancetype)initWithFrame:(CGRect)frame withImage:(NSString *)imge andTitle:(NSString *)title andSpace:(CGFloat)space;

///自定义初始化方法(传buttonType)
+ (HCButton*)buttonWithType:(UIButtonType)buttonType andFrame:(CGRect)frame andImage:(NSString *)imge andTitle:(NSString *)title andSpace:(CGFloat)space;

///image与title上下间距
@property (nonatomic,assign) CGFloat space;

@end
